var itemsPerPage = 2;

Ext.get('@winId').setVisible(false);
	Ext.create('Ext.data.Store', {
    storeId:'@storeId',
    fields:@tableFields,
    data:{'items':
    	@dataTable    
    },
    proxy: {
        type: 'ajax',
        url: '',
        reader: {
            type: 'json',
            root: 'items'
        }
    }
});

Ext.create('Ext.grid.Panel', {
    title: '@tableTitle',
    store: Ext.data.StoreManager.lookup('@storeId'),
    columns: 
		@tableColumns
    ,
    style: {
    	marginLeft: 200,
    	marginRight:200
    },
    renderTo: Ext.getBody()

});